 function RegulerControl()
 {
 };
 RegulerControl.prototype.ini = function()
 {
 };
 
 RegulerControl.prototype.is_email = function(data)
 {
	 var email_rule=/^([a-zA-Z0-9]|[._])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
	 return email_rule.test(data);
 };
 RegulerControl.prototype.is_num = function(data)
 {
     var num_rule = /^[0-9]+/;
	 return num_rule.test(data);
 };
 RegulerControl.prototype.is_num_no0 = function(data)
 {
     var num_rule = /^[1-9]+[0-9]*/;
	 return num_rule.test(data);
 };
 RegulerControl.prototype.is_mobile = function(data)
 {
	 var mobile_rule = /^((13|14|15|18)\d{9})$/;
	 return mobile_rule.test(data);
 };
 
var __reguler=new RegulerControl();
 __reguler.ini();